<?php
//评论的ID
$id =$_GET['id'];

unset($db[$id]);

$data = "<?php \n return  ".var_export($db,true).";?>";
if(file_put_contents('db.php', $data))
{
	success('删除成功','index.php');
}
